Throw error when unsupported keyword is used