remove instance methods, add configuration