Removed a couple of IDE warnings