Fix #9: split registerCreature and registerCA into separate functions