removing unnecessary lifecycle methods.