Added method chaining to core Theme class