Revert "Simplify __construct() method"

Reverts joomla/joomla-cms#3943