Commented out the unused lifecycle methods.
Also moved them to the end of the class