Add logic to parse static methods.