Fixed Code Climate warnings (#150)