Fixes curly brace position in Component class