Added check for duration > 0 on creation.