Made Class Functional.