Added interface check for new queries, callbacks and workflows.
Deleted unnecessary check.