Make methods reusable in the frontend.