Add exceptions to be thrown on the empty methods.