Add function to return return attributes.