Refactor task registration to support 'malformed' task base classes