Requires that `define` is a function before calling it

Currently if `defined` is an object, a string, number or anything that's defined, this error happens:

    Uncaught TypeError: (someType) is not a function