Add name option for construct

Signed-off-by: crynobone <crynobone@gmail.com>