No longer need to pass isInterface flag to writeMethod().