Controller parametrized constructor used.