Fixed: Compiler warnings about return types

Previously the compiler was warning about conflicting return types for these methods.

This commit fixes the compiler warnings about return types.
Merge pull request #13 from ahankinson/fixes-compiler-warnings

Fixed: Compiler warnings about return types