Should take in account only methods (not built-in's etc).