Added support for defining options in interfaces