Split the .active() method to two sub methods

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>