* added type for Layout objects.