Moved install hook to __construct()