Python Class Internal Functionality Define