Implement method override middleware