Error Handeling

Fixed issues with malformed 'set' and 'use' methods.