More efficient student roster.
More efficient teacher roster.
Using similar terminate/terminated pattern as elixir version.