Fixed deprecated require statement.