Add helpful accessor methods to get the specified function attribute.