Added return type info for methods

Added return type info for methods