Remove unneeded calls to 'self' in Task model definition