Yes, that's what it's there for. Otherwise, the AI will say "wow, look at those colony modules, they allow 1000kT of storage! I should put those on all my cargo transports! ... oh, they don't fit, so I'll wait (forever) for a ship that can use those." Etc.