Add some missing functions for font lock