Updated the way that components are created on the client