Add 'define' capability

@sarguru - Please have a look