Updated inline documentation