Apply role interfaces to ruby objects