Changed writer to display more appropriate information for objects and functions.