Protect method from leaking out the scope