Adding more core functions to make plugin development easier