Add isHistory and isComponent to PatomicSchema