Implementing plugin hook to add console commands