Modify post to fit public functions inside class. Detailed message for mitch