Allow constructing from a number