Add support for static methods/props.