Add admin functions to core