Cleats are often fastened to shelves with glue and dowels. They are fixed to verticals and the wall with screws.