Use built in rt code for bucket type creation