Change function declarations to function expressions in app module.