Remove some obsolete functions

Remove two obsolete functions in ``NodeModel``. 

@Benglin, some minor changes...