better handling of NotImplementedException