Modified error handling for issue #9

This does not fully address issue #9 but it will make the error obvious
to the user and it should stop the unexpected method deletions.