Remove thrown exceptions for testing purposes