Add model extension stubs, refactor ajax queue to use eventemitters