Added lesson published functionality.