Updated methods to better reflect their purpose

Added isInteger.