Don't replace model component when adding an alias

This fixes #22.