This is a quick method for compilation errors to be raised should the types not satisfy the expected framework interfaces.