Update to PatomicSchema to improve API usability