Prevent failure when passing controllers directly