Cleaned up API and javadocs for iOS