Refs ticket #277