Avoid `require' inside method call