[core, layouts] Remove unnecessary argument from constructors