Remove sm from application class