Updating some api doc stuff and adding the getFirstDefinition() helper method