added exceptions for unsupported methods