Adding utility methods to the component API