refactor: remove unnecessary context parameters