Added 'static' modifier to methods which should have been so.