Factory to help create common operations.