added type to storage for convenience reasons in the client