Replaced signalling with lifecycle methods. Build script.