Removes prefix from defined. Fixes #52, refs #51.