If value is a method, attribute should be also.