Better Fragment constructor.