Removed warnings

Fix warnings on some classes.