Fix beforeRedirect() doc block in Component