Add task hooks to Mix project

Closes #1220