Fixes API templates and styles.