Before this, it would panic when a nil-interface was passed. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>