-Refactored some parts
-Now excludes few system defined methods.