Add return types for methods.