Adds support to getOperation method