Add exception for method.