Registration and activation fixes, template fixes for tasks and member