Added some return types in the javadocs