Bind enums and update code api comments