Fixed API style and corrected spelling