Removed typechecking of return types of methods and tasks
cleaning up