Added methods for registering fonts